package com.xiti.student.base.service;

import com.aliyuncs.exceptions.ClientException;
import com.baomidou.mybatisplus.service.IService;
import com.xiti.student.base.entity.MobileCode;
import com.xiti.student.base.input.MobileCodeInput;


/**
 * <p>
 * 短信验证码 服务类
 * </p>
 *
 * @author tangz
 * @since 2018-05-28
 */
public interface MobileCodeService extends IService<MobileCode> {
    boolean getCode(MobileCodeInput input) throws ClientException;

    boolean checkCode(String mobile, String code, Integer types);
}
